package map.android.baidu.carpool.response;

import com.baidu.lbs.net.http.response.ComNetResponse;

import java.io.Serializable;

/**
 * Created by zhangtongyu on 15/3/23.
 * main模块订单详情页response
 */
public class OrderDetailResponse extends ComNetResponse implements Serializable{
    private static final long serialVersionUID = 52796092284511520L;

    public OrderDetail data;

    public static class OrderDetail implements Serializable {

        private static final long serialVersionUID = 8443101707605743425L;

        public String orderId; //百度订单id
        public String sfrom; //合作方id
        public String sorderId; //合作方订单id
        public String createTime; //订单创建时间
        public String startTime; //出发时间
        public String startPlace; //出发地
        public String arrivePlace; //目的地
        public String carerNickname; //车主昵称
        public int price; //价格(单位分)
        public int orderStatusId; //订单状态id
        public String orderStatusDesc; //订单状态描述
        public int waitDisableTime;  //超时时间,
        public String waitEndTime ="";
        public String mobile; //手机号，支付后显示
        public String carerPic =""; //车主照片 .jpg
        public String carPic =""; //车辆照片.jpg
        public float carerStar; //评分
        public String carBrand="";  //车辆品牌
        public String carColor="";  //车辆颜色
        public String carNumber="";  //车牌
        public String carerId;
        public int pushNum;  //推送车主数量
        public String waitStartTime ="";
        public String currentTime="";
        public String carType;
        public String parternerId;
        public String payDisableTime;
        public String payEndTime;
        public String payStartTime;
        public int isRealPic;
        public int commentCount;
        public String firstDesc = "";
    }

    @Override
    public boolean isBadResponse() {
        return false;
    }

    @Override
    public int getErrorNo() {
        return 0;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }

}
